package com.github.baichuan.application.scaffold.rest.dto.application;

import com.github.baichuan.mapping.Mapping;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(title = "应用列表信息")
@Getter
public class ApplicationTableView {

    @Mapping
    private String id;

    @Schema(title = "应用域")
    @Mapping("realm.name")
    private String realm;

    @Schema(title = "应用名称")
    @Mapping
    private String name;

    @Schema(title = "应用代码")
    @Mapping
    private String code;

    @Schema(title = "租户模式")
    @Mapping
    private String tenant;
}
